<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div{
            height: 300px;
            width: 300px;
          
        }
        .box1{
            background-color: red;
            margin-bottom: 10px;
        }
        .box2{
            background-color: green;
            margin-top: 50px;
        }
    </style>
</head>
<body>
    <div class="box1"></div>
   <div class="box2"></div>
</body>
</html>